package com.fs.web.base.execption;

import com.fs.web.base.enums.CodeEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author ACE
 * @desc 自定义异常类
 * @creationTime 2019-03-07 14:30
 * @projectName gps-root
 * @packageName com.fs.base.execption
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ExecptionData extends RuntimeException {

    private CodeEnum codeEnum;

    public ExecptionData(CodeEnum codeEnum){
        this.codeEnum = codeEnum;
    }

}
